package com.example.drive.student.service;

import com.example.drive.student.pojo.dto.UpdateStuDTO;
import com.example.drive.student.pojo.entity.Student;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface StudentService {

   

    List<Student> getList();

    void update(Integer id, UpdateStuDTO updateStuDTO);

    Student search(Integer id);

    void updateScore(Integer id, String subject, Integer newScore);

    void refuse(Integer id);
}
